package cn.cdeden.knowledge.domain;

import cn.cdeden.knowledge.domain.dto.FilesDistributeSenderDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;

/**
 * 接收人关联表
 */
@Data
@TableName(value = "files_distribute_sender")
@AutoMappers({@AutoMapper(target = FilesDistributeSenderDto.class)})
public class FilesDistributeSender {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "sender_id")
    private Long senderId;

    @TableField(value = "distribute_id")
    private Integer distributeId;

    @TableField(value = "receive")
    private String receive;

//    /**
//     * 接收人姓名
//     */
//    private String senderName;
}
